package tech.edwardvan.cloudgateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关启动入口
 * <p>
 * 添加链路跟踪
 * -javaagent:文件路径\skywalking-agent.jar -Dskywalking.agent.service_name=cloud-gateway -Dskywalking.collector.backend_service={docker.server.ip}:11800  -Xms100m -Xmx150m
 *
 * @author EdwardVan
 */
@SpringBootApplication
@EnableDiscoveryClient
public class CloudGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudGatewayApplication.class, args);
    }

}
